const Router = require('@koa/router')
const router = new Router({
  prefix: '/api/v1/menu'
})
const menuController = require('../controllers/menuController')

// 菜单相关路由
router.post('/create', menuController.create)
router.post('/update', menuController.update)
router.get('/delete', menuController.delete)
router.get('/findOne', menuController.findOne)
router.get('/findAll', menuController.findAll)

module.exports = router